<%@ page language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@page import="support.*, java.util.*" %>
<html:html>
	<head>
		<title> Citizenship </title>
	</head>
<h3>Country of Citizenship</h3>
<body>
	

 
	<bean:write name="applicantFormInsert" property="firstname" scope="session" />
	<bean:write name="applicantFormInsert" property="middle"    scope="session" />
	<bean:write name="applicantFormInsert" property="lastname"  scope="session" />

<BR>


<% 
Vector<String> countries = (Vector<String>) request.getAttribute("countries");

%>

Please choose your country of citizenship: <p>
<table border="0" cellpadding="0" cellspacing="0" width="760" align="center">
	<tr>
		<%int tmp=0; 
			for(int i=0;i<countries.size();++i) {
			tmp++;
		%> 
		<td>
			<html:link action="/citizenship">
			<html:param name="citizenship" value="<%=countries.get(i)%>"/>
			 	<%=countries.get(i)%> 
			
			</html:link>
		</td>
		<%if (tmp%3==0){%>
	</tr>
		<%} %>
		<%} %>
</table>
</body>
</html:html>